import { LOGIN } from './api';
import http from '../axios/http';

export async function login(params) {
  //联盟页信息表格查询
  return http(LOGIN.login, 'POST', params);
}

export async function validatecode(params) {
  return http(LOGIN.validatecode, 'get', params);
}

export default {
  login,
  validatecode,
};
